<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
	      content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Document</title>
</head>
<body>
<script src="http://localhost:8080/socket.io/socket.io.js"></script>
<script>
let sock = io.connect("ws://localhost:8080");
a=0
document.onclick = function () {
	sock.emit("cc",12,a++);
}
sock.on('ttt',function (...args) {
	console.log(args);
})
</script>
</body>
</html>